package com.mofang.powerdekorhelper.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yml on 2016/10/19.
 */

public class ProductClassify implements Serializable {

    private Integer code;
    private String message;
    private List<Data> result;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Data> getResult() {
        return result;
    }

    public void setResult(List<Data> result) {
        this.result = result;
    }

    public class Data implements Serializable {
        private Integer id;
        private String name;
        private List<Category> brandSeries;
        private boolean isWhole = false;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<Category> getBrandSeries() {
            return brandSeries;
        }

        public boolean getWhole() {
            return isWhole;
        }

        public void setWhole(boolean whole) {
            isWhole = whole;
        }

        public void setBrandSeries(List<Category> brandSeries) {
            this.brandSeries = brandSeries;
        }

        public class Category implements Serializable {
            private Integer id;
            private String name;
            private boolean isCheck;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public boolean getCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }
        }
    }
}
